package com.dmai.capacity.platform.common.disruptor.event;

import com.dmai.capacity.platform.common.disruptor.AsyncContext;
import com.dmai.capacity.platform.common.disruptor.callback.Action;

import lombok.Data;

/**
 * boss event
 */
@Data
public class BossEvent {

    private String channel;

    private BaseEvent event;

    private AsyncContext context;
    
    private Action action;

    public void clear() {
        channel = null;
        event = null;
        context = null;
    }
}